package com.visitcqut.mapper;


import com.visitcqut.common.core.BaseMapper;
import com.visitcqut.domain.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @program: visitcqut
 * @description: 管理员数据库映射
 * @author: ATAO
 * @create: 2020-11-13 12:43
 **/


@Repository
@Mapper
public interface AdminMapper extends BaseMapper<Admin>{

    /**
     * 管理员登陆时验证帐户密码的准确性
     * @param admin
     * @return int
     */
    Admin loginVerification(Admin admin);
}
